<%--
  Created by IntelliJ IDEA.
  User: Administrator
  Date: 2021/4/19
  Time: 20:45
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
    <meta name="description" content="">
    <meta name="author" content="">
    <title>Signin Template for Bootstrap</title>
    <!-- Bootstrap core CSS -->
    <link href="css/bootstrap.min.css" rel="stylesheet">
    <!-- Custom styles for this template -->
    <link href="css/signin.css" rel="stylesheet">
    <script src="${pageContext.request.contextPath}/js/jquery-3.6.0.js"></script>
    <script>
        function a1() {
            $.post({
                url:"${pageContext.request.contextPath}/a3",
                data:{"name":$("#name").val()},
                success:function (data) {
                    $("#productsize").css("color","red");
                    $("#productsize").html(data);
                }
            })
        }
    </script>
</head>

<body class="text-center" style="background-color: #e7e7e7">
<form class="form-signin" action="${pageContext.request.contextPath}/loginin" method="get">
<%--    <img class="mb-4" src="img/123.jpg" alt="" width="400" height="400">--%>
    <h1 class="h3 mb-3 font-weight-normal">请登录</h1>
    <label class="sr-only">Username</label>
    <input type="text" class="form-control" name="name" placeholder="账号" required="" autofocus="">
    <label class="sr-only">Password</label>
    <input type="password" class="form-control" name="password" placeholder="密码" required="">
    <div class="checkbox mb-3">
        <label>
            <input type="checkbox" value="remember-me"> 记住我
        </label>
    </div>
    <button class="btn btn-lg btn-primary btn-block" type="submit">登录</button>
    <p class="mt-5 mb-3 text-muted">© 2020-2021</p>
    <a class="btn btn-sm">中文</a>
    <a class="btn btn-sm">English</a>
</form>

</body>

</html>
